Skip to content

Conversation

@mmuman
Copy link
Contributor

@mmuman mmuman commented Feb 19, 2025

My ThinkPad has a second slot for external batteries.

@CarterLi
Copy link
Member

You should check extended.last_full_charge == 0. If true, just skip this battery.

@mmuman
Copy link
Contributor Author

mmuman commented Feb 19, 2025

I just copied what PowerStatus did but let's try that.

@mmuman
Copy link
Contributor Author

mmuman commented Feb 19, 2025

Actually (uint32)-1 but yeah, should work.

My ThinkPad has a second slot for external batteries.
@CarterLi CarterLi merged commit 3e5d129 into fastfetch-cli:dev Feb 19, 2025
@mmuman mmuman deleted the haiku-battery branch February 19, 2025 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants